[INFO] fetching crate rsnappy 0.1.0...
[INFO] testing rsnappy-0.1.0 against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] extracting crate rsnappy 0.1.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate rsnappy 0.1.0 on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rsnappy 0.1.0
[INFO] finished tweaking crates.io crate rsnappy 0.1.0
[INFO] tweaked toml for crates.io crate rsnappy 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d52b950e9b617f7b2b0a1dd04048a48a9ed5203ccfac728f342f95d05bf6187
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7d52b950e9b617f7b2b0a1dd04048a48a9ed5203ccfac728f342f95d05bf6187", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d52b950e9b617f7b2b0a1dd04048a48a9ed5203ccfac728f342f95d05bf6187", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d52b950e9b617f7b2b0a1dd04048a48a9ed5203ccfac728f342f95d05bf6187", kill_on_drop: false }`
[INFO] [stdout] 7d52b950e9b617f7b2b0a1dd04048a48a9ed5203ccfac728f342f95d05bf6187
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c605ca180c7f38899b713bd142213ddd21cd4dbc020b4e277b1e11120a71a23
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3c605ca180c7f38899b713bd142213ddd21cd4dbc020b4e277b1e11120a71a23", kill_on_drop: false }`
[INFO] [stderr]    Compiling rsnappy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decompress.rs:216:31
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let uncompressed_length = try!(read_uncompressed_length(reader));
[INFO] [stdout]     |                               ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/decompress.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |             for i in (0..len as usize) {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/compress.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let metadata = try!(self.get_ref().metadata());
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:216:31
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let uncompressed_length = try!(inp.available()) as u32;
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:217:5
[INFO] [stdout]     |
[INFO] [stdout] 217 |     try!(write_varint(out, uncompressed_length));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:231:17
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 try!(compress_block(chunk, out, &mut dict));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         try!(emit_literal(out, &block[literal_start..i]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |             try!(emit_copy(out, copy_offset, copy_len));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 |         try!(do_emit_copy(out, offset, MAX_COPY_LEN));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:301:9
[INFO] [stdout]     |
[INFO] [stdout] 301 |         try!(do_emit_copy(out, offset, to_emit));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |         try!(out.write(&[tag, low_len]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:320:9
[INFO] [stdout]     |
[INFO] [stdout] 320 |         try!(out.write(&[tag]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |         try!(write_u16_le(out, offset as u16));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         try!(out.write(&[tag]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         try!(out.write_all(literal));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         try!(out.write(&ds[..count + 1]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 346 |         try!(out.write_all(literal));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:424:5
[INFO] [stdout]     |
[INFO] [stdout] 424 |     try!(out.write(s));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/compress.rs:457:5
[INFO] [stdout]     |
[INFO] [stdout] 457 |     try!(out.write(&ds[..nbytes]));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a foreign function or static
[INFO] [stdout]   --> src/zero_array.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 |   #[link_name = "c"]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 | / extern {
[INFO] [stdout] 28 | |     fn calloc(num: size_t, size: size_t) -> *mut c_void;
[INFO] [stdout] 29 | |     fn free(ptr: *mut c_void);
[INFO] [stdout] 30 | |     fn abort();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_- not a foreign function or static
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] help: try `#[link(name = "c")]` instead
[INFO] [stdout]   --> src/zero_array.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[link_name = "c"]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this operation will panic at runtime
[INFO] [stdout]   --> src/compress.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 self.queue[3] = self.queue[2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unconditional_panic)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this operation will panic at runtime
[INFO] [stdout]   --> src/compress.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 self.queue[4] = self.queue[3];
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this operation will panic at runtime
[INFO] [stdout]   --> src/compress.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 self.queue[4] = self.queue[3];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this operation will panic at runtime
[INFO] [stdout]   --> src/compress.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 self.queue[3] = self.queue[2];
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ index out of bounds: the length is 3 but the index is 3
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsnappy`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "3c605ca180c7f38899b713bd142213ddd21cd4dbc020b4e277b1e11120a71a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c605ca180c7f38899b713bd142213ddd21cd4dbc020b4e277b1e11120a71a23", kill_on_drop: false }`
[INFO] [stdout] 3c605ca180c7f38899b713bd142213ddd21cd4dbc020b4e277b1e11120a71a23
